Cross-Version Extension for ActivityDefinition.subject[x] in R5

URLhttp://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject[x]
Version
Statusactive
Description

Cross-Version Extension for ActivityDefinition.subject[x]. Valid in versions R2, R3, R4, R4B

This is a valid extension because it has the target resources AdministrableProductDefinition, SubstanceDefinition, ManufacturedItemDefinition, MedicinalProductDefinition, EvidenceVariable, PackagedProductDefinition

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionType of individual the activity definition is intended for
... extension ..0
... value[x] 1..Reference(), canonical()
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject[x]"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-adf.subject[x]",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject[x]",
  "name" : "XVerExtensionActivityDefinition.subject[x]R5",
  "title" : "Cross-Version Extension for ActivityDefinition.subject[x] in R5",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Clinical Decision Support)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for ActivityDefinition.subject[x]. Valid in versions R2, R3, R4, R4B\r\n\r\nThis is a valid extension because it has the target resources AdministrableProductDefinition, SubstanceDefinition, ManufacturedItemDefinition, MedicinalProductDefinition, EvidenceVariable, PackagedProductDefinition",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ActivityDefinition"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-ActivityDefinition"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ActivityDefinition"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-ActivityDefinition"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ActivityDefinition"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Basic"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Type of individual the activity definition is intended for",
      "definition" : "A code, group definition, or canonical reference that describes  or identifies the intended subject of the activity being defined.  Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.",
      "comment" : "Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.subject"
      },
      {
        "identity" : "rim",
        "map" : "N/A (to add?) { only applies for subject Patient? }"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Reference"
      },
      {
        "code" : "canonical"
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject[x]"
    }]
  }
}